total count, date parsing