Banana Monkey is one of the many small Flash-era arcade games built on a single tight idea, and questions about its length come up often because the game never announces a total.
Small browser games of that period were frequently updated after release. A stage count quoted in an old guide may reflect an early build, and later versions added levels or rearranged the difficulty curve. Some releases also loop the final stage with rising speed instead of ending, which makes "how many levels" ambiguous.
If your goal is simply to finish, the practical approach is to prioritise consistency over speed. Learn the timing of the moving hazards on the early stages, since they recur with tighter margins later, and treat each life as a chance to memorise one more pattern.
The most reliable answer is the version you actually have loaded. Pause screens, title screens and the host site's description usually state the stage count, and the game's own progress indicator will tell you when the last level arrives.