@classmethod
def count(cls, like={}, isin={}, orderby='', where='', limit='', **criteria):
    """return count of data filtered by these criteria
    """
    return cls.list(asObjects=False, like=like, isin=isin, orderby=orderby,
        where=where, limit=limit, what='count(uid)', **criteria)[0][
        'count(uid)']
