protected function prepareSelect(Select $select) {
		$select->reset(Select::COLUMNS)
		       ->reset(Select::LIMIT_OFFSET)
		       ->reset(Select::LIMIT_COUNT)
		       ->reset(Select::ORDER)
		       ->columns([self::COUNT_COLUMN => 'count(*)']);

		return $select;
	}
protected function prepareSelect(Select $select) {
		$select->reset(Select::COLUMNS)
		       ->reset(Select::LIMIT_OFFSET)
		       ->reset(Select::LIMIT_COUNT)
		       ->reset(Select::ORDER)
		       ->columns([self::COUNT_COLUMN => 'count(*)']);

		return $select;
	}
protected function prepareSelect ( Select $ select ) { $ select -> reset ( Select :: COLUMNS ) -> reset ( Select :: LIMIT_OFFSET ) -> reset ( Select :: LIMIT_COUNT ) -> reset ( Select :: ORDER ) -> columns ( [ self :: COUNT_COLUMN => 'count(*)' ] ) ; return $ select ; }
Prepare the simple count select

@param  Select $select
@return Select
Prepare the simple count select