added functionality to collect number of observations at each location