/**
  * Returns the number of unpublished nodes contained in the given workspace
  *
  * @param Workspace $workspace
  * @return integer
  * @api
  */
 public function getUnpublishedNodesCount(Workspace $workspace)
 {
     return $workspace->getNodeCount() - 1;
 }