fixed T count returning NAs in years with missing values for rainfall