removed uneeded globals in first_article_count_fix function