I have a formula that calculates the amount of hhmmss between 2 date times using the networkdays function. Is there a way to use a countif formula to count the number that are:

< 00:59:59
> 01:00:00 and < 01:59:59
> 02:00:00 and < 02:59:59
> 03:00:00

each one of the 4 lines would be a seperate formula.

Here is what I have but it isn't working

=COUNTIF(D:D,"< 00:59:59")