I have the table disponibility with this columns.
disponibility
I created the below query
@Query(nativeQuery = true, value = "select count(*) f