Invokes func once for each type of object that Cogl uses and passes a count of the number of objects for that type.
This is intended to be used solely for debugging purposes to track down issues with objects leaking.
| func | A callback function for each type | 
| user_data | A pointer to pass to  |