I play on the Bedrock edition and I'm looking for an easy way to find and count Eyes of Ender inside portal frames. My initial thought was to use testfor but I can't seem to get the coding right. This is what I tired,
/testfor @e[type=Item,name=ender_eye,r=50]
But it just says "No selector with that name", is there a difference between eyes on the ground and eyes already placed in the portal frame? Am I just looking for the wrong name? Anyone with more knowledge on this subject?