This isn't always true though - for example, if 500 fleas are feeding on the fox, the number of organisms has increased as you move up to that stage in the food chain
The next bar will be the primary consumer (the animal that eats the producer), then the secondary consumer (the animal that eats the primary consumer) and so on up the food chain
Biomass and energy are still decreasing as you go up the levels, it's just that one tree can have a very big biomass, and can fix a lot of the Sun's energy using all those leaves