code: def app_evaluation_count(app_id, value=1):
          '''
          Get the Evalution sum.
          '''
          return TabEvaluation.select().where(
              (TabEvaluation.post_id == app_id) & (TabEvaluation.value == value)
          ).count(f app_evaluation_count(app_id, value=1):
          '''
          Get the Evalution sum.
          '''
          return TabEvaluation.select().where(
              (TabEvaluation.post_id == app_id) & (TabEvaluation.value == value)
          ).count()
docs: Get the Evalution sum.