added countObs(), a function to count the number of valid observations in a time series RasterBrick or RasterStack. The user can optionally define which values represent NA's (default is NA).
Merge branch 'feature-countObs' into develop

added function countObs().