Código SQL [-] select count(Fecha) from tutabla where (hora_entrada) >= 7 and (hora_salida<=1) group by Fecha
select count(Fecha) from tutabla where (hora_entrada) >= 7 and (hora_salida<=1) group by Fecha