"grep -c" a logfile accumulated by hour