count the objects

count the objects