match stored counts on date, not datetime
use Digest::SHA1.hexdigest for consistent hashing