protected function _getCountQuery($identifier) {
		return $this->Table
			->find()
			->where([
				$this->Table->alias() . '.model' => $identifier
			]);
	}
protected function _getCountQuery($identifier) {
		return $this->Table
			->find()
			->where([
				$this->Table->alias() . '.model' => $identifier
			]);
	}
protected function _getCountQuery ( $ identifier ) { return $ this -> Table -> find ( ) -> where ( [ $ this -> Table -> alias ( ) . '.model' => $ identifier ] ) ; }
Gets the query object for the count.

@param string $identifier
@return \Cake\ORM\Query
Gets the query object for the count .