code: func NewCountIndex(resolution Meters) *CountIndex {
  	newCounter := func() interface{} {
  		return &singleValueAccumulatingCounter{}
  	}
  
  	return &CountIndex{newGeoIndex(resolution, newCounter), make(map[string]Point)}
  }
docs: // NewCountIndex creates an index which counts the points in each cell.