code: def query_field_count(limit_num, kind='1'):
          '''
          Query the posts count of certain category.
          '''
          return TabTag.select().where(
              TabTag.kind == kind
          ).order_by(
              TabTag.count.desc()
          ).limit(limit_numf query_field_count(limit_num, kind='1'):
          '''
          Query the posts count of certain category.
          '''
          return TabTag.select().where(
              TabTag.kind == kind
          ).order_by(
              TabTag.count.desc()
          ).limit(limit_num)
docs: Query the posts count of certain category.