protected function _getCount($identifier) {
		$count = $this->_getCountQuery($identifier)->count();
		if ($count === 0) {
			$this->out(__d('file_storage', 'No records for identifier "{0}" found.', $identifier));
			$this->_stop();
		}

		return $count;
	}
protected function _getCount($identifier) {
		$count = $this->_getCountQuery($identifier)->count();
		if ($count === 0) {
			$this->out(__d('file_storage', 'No records for identifier "{0}" found.', $identifier));
			$this->_stop();
		}

		return $count;
	}
protected function _getCount ( $ identifier ) { $ count = $ this -> _getCountQuery ( $ identifier ) -> count ( ) ; if ( $ count === 0 ) { $ this -> out ( __d ( 'file_storage' , 'No records for identifier "{0}" found.' , $ identifier ) ) ; $ this -> _stop ( ) ; } return $ count ; }
Gets the amount of records for an identifier in the DB.

@param string $identifier
@return int
Gets the amount of records for an identifier in the DB .