public function countOwnerFaces($owner)
{
$info = array('filter' => 's.share_owner = ' . $GLOBALS['ansel_db']->quoteString($owner));
if (!$GLOBALS['registry']->getAuth() || $owner != $GLOBALS['registry']->getAuth()) {
$info['filter'] .= ' AND s.gallery_passwd IS NULL';
}
return $this->_countFaces($info);
}