public function loadCount($params=array()) {
		
		$this->openConnection();
		
		$res = 0;
		
		try {
		
			$stat = $this->handler->prepare($this->query);
			$stat->execute((array)$params);
			$res = (int)$stat->fetch(\PDO::FETCH_COLUMN);

			// logger
			$this->logParamQuery($this->query, $res, $params);
		
		} catch (\PDOException $e) {
		
			$this->handleException($e, $params);
		
		}
		
		$stat->closeCursor();

		return $res;
		
	}
public function loadCount($params=array()) {
		
		$this->openConnection();
		
		$res = 0;
		
		try {
		
			$stat = $this->handler->prepare($this->query);
			$stat->execute((array)$params);
			$res = (int)$stat->fetch(\PDO::FETCH_COLUMN);

			// logger
			$this->logParamQuery($this->query, $res, $params);
		
		} catch (\PDOException $e) {
		
			$this->handleException($e, $params);
		
		}
		
		$stat->closeCursor();

		return $res;
		
	}
public function loadCount ( $ params = array ( ) ) { $ this -> openConnection ( ) ; $ res = 0 ; try { $ stat = $ this -> handler -> prepare ( $ this -> query ) ; $ stat -> execute ( ( array ) $ params ) ; $ res = ( int ) $ stat -> fetch ( \ PDO :: FETCH_COLUMN ) ; // logger
 $ this -> logParamQuery ( $ this -> query , $ res , $ params ) ; } catch ( \ PDOException $ e ) { $ this -> handleException ( $ e , $ params ) ; } $ stat -> closeCursor ( ) ; return $ res ; }
Return the query count as integer number.

@param	mixed	List of parameters to bind on sql query.

@return	int
Return the query count as integer number .