Code I developed today with Help, an histogram for any type of objects