count log by min