add date and count hash