nwetdays function

It calculates the number of wet days for each month and each year