integrated mongodb aggregation
dimension count
fix #3