src/Output/Output.php
public function getMessageCount($type)
	{
		switch ($type)
		{
			case Output::FATAL:
				return $this->fatal;
			case Output::ERROR:
				return $this->error;
			case Output::WARNING:
				return $this->warning;
			case Output::NOTICE:
				return $this->notice;
		}
	}
public function getMessageCount($type)
	{
		switch ($type)
		{
			case Output::FATAL:
				return $this->fatal;
			case Output::ERROR:
				return $this->error;
			case Output::WARNING:
				return $this->warning;
			case Output::NOTICE:
				return $this->notice;
		}
	}
Get the count for a type;

@param $type

@return mixed