Returns the amount of objects by the given class.
1 string class
the object class.
1 number
the amount of objects.