added function to put monthly per ds object counts into statistic db