added a quantity properties which means how many objects of the same thing there are.