script for statistics of articles by month