SELECT HOUR(DATETIME) AS HOUR, COUNT(DATETIME) as COUNT FROM ANIMAL_OUTS GROUP BY HOUR(DATETIME) HAVING HOUR >= '9' AND HOUR <= '19' ORDER BY HOUR