added view CountByDate