public function getBranchChildrenCountAction(Request $request, $scope = null, $filter = null)
{
$primaryKey = $this->extractPrimaryKey($request);
if ($primaryKey) {
return $this->getBranchChildrenCount($primaryKey, $scope, $filter);
} else {
return $this->getBranchChildrenCount(null, $scope, $filter);
}
}