Make each() return number of elements