pub async fn count(
    user: User,
    db: impl Database + Clone + Send + Sync
) -> JSONResult<ErrorResponseStatus<'static>>