code: def count_of_user(user_id):
          '''
          Get the cound of views.
          '''
          return TabCollect.select(
              TabCollect, TabPost.uid.alias('post_uid'),
              TabPost.title.alias('post_title'),
              TabPost.view_count.alias('post_view_count')
          ).where(
              TabCollect.user_id == user_id
          ).join(
              TabPost, on=(TabCollect.post_id == TabPost.uid)
          ).count(f count_of_user(user_id):
          '''
          Get the cound of views.
          '''
          return TabCollect.select(
              TabCollect, TabPost.uid.alias('post_uid'),
              TabPost.title.alias('post_title'),
              TabPost.view_count.alias('post_view_count')
          ).where(
              TabCollect.user_id == user_id
          ).join(
              TabPost, on=(TabCollect.post_id == TabPost.uid)
          ).count()
docs: Get the cound of views.