bug fix in countObs

forgot to change "all" to NULL in arguments
Merge branch 'fix-countObs' into develop