return count not the array