For anything that is not natively part of Database Cleaner, you can create your own cleaning query—just like the ones handled in the WordPress Core tab. You can use the “Add Custom” button to register your query and manage it directly within the interface.

You will need to register two fields: one query to count what you want and one query to clean what you want. Don’t forget to set up a name and a clean method.
Here’s a simple example of how you might use the Custom Query feature to count and delete old post revisions.
