When Testfor @e and the items are stacked they only count as one
Comments 4
I think this is a bug. While it is true that, technically, stacked items are one entity, the selectors are designed to be useful. Counting 10 stone as one if they are close together but as 10 if they are far apart is not useful. The commands are allowed to deviate from technical accuracy when it is deemed necessary. For example, the summon command can summon a lightning bolt even though a lightning bolt is not technically an entity.
@e returns the number of entities.
This is most likely intended, as multiple stacked item drops are still one entity.
(This site is for bug reports only. For feature suggestions/changes please use the Minecraft Forums: Suggestions.)