Add DocumentStoreObjectBackend#countByObject()

[refs #84779266] ... still need the controller method.
Count documents per StoreObject -- first pass

This doesn't accept any parameters. And I haven't actually tested that
it works. [refs #84779266]