public static function count ($status = FALSE)
	{
		
		// If no status return all messages
		
		if ($status === FALSE)
		{
			return count (self::$messages);
		}
		
		// Return messages for a specific status
		
		if (isset (self::$messages[$status]))
		{
			return count (self::$messages[$status]);
		}
		else
		{
			return 0;
		}
		
	}