Fixed table counts to include classed objects

The showcounts mode (and anything else that uses table counts) now includes counts for classed objects (objects of classes such as MT::Website, MT::Community::Blog, MT::Asset::Image, MT::Page, etc).

Fixes https://app.asana.com/0/17569720697425/22592995486869