Rectangle has class method that returns number of objects created