add redis key for mysql row limit
fix get_article_count query
fix redis connection initialization, refs to redis key
refresh cached article count based on random sampling