Pyramids of number in grassland ecosystem. The pyramid of numbers deal with the number of primary producers and consumers. It is upright in a grassland and inverted in a tree ecosystem. In a grassland the number of producers is more than the number of top carnivores, whereas in case of a tree, the number of producers is less as compared to consumers