public static function _count ($params = array (), &$db = FALSE)
	{
		
		// Remove order

		if (isset ($params['orderby']))
		{
			unset ($params['orderby']);
		}
		
		// Remove limit

		if (isset ($params['limit']))
		{
			unset ($params['limit']);
		}

		// Select count

		$params['select'] = 'COUNT(*)';
		
		// Return
		
		return static::_getValue ($params, \PDO::FETCH_ASSOC, $db);

	}