implement countObjects

also add no-op implementation for deleteObjects