Added where option

You can specify a where clause and then determine the number of observations/records.