public function getLocationChildCount(APILocation $location) { $searchResult = $this->searchChildrenLocations($location, 0, 0); return $searchResult->totalCount; }