public function getUnpublishedNodesCount(Workspace $workspace) { return $workspace->getNodeCount() - 1; }