Maybe one of the times was in the wrong format? But otherwise all the rest of them should be fine.
The counter might not be working. You might be able to use something like this. The idea is to count the periods where there is no rain, then just grab the highest numbers, as long as the period was >= 16.