'Count a resource and return a dict.'

@base.remotable_classmethod
def count_as_dict(cls, context, resource, *args, **kwargs):

    return quota.QUOTAS.count_as_dict(context, resource, *args, **kwargs)
