added countObs() to NAMESPACE so that vignette can properly compile