def log_num_follow(): num = Follow.raw_sql('select count(1) from follow').fetchone()[0] log_history_new(Follow, LOG_HISTORY_CID_FOLLOW, num)