added json for view/list in countByDate