segersjens/CodeIgniter-Message-Library — Issue #1: Count bug
Author: jellysandwich
Created: 2012-02-16 03:07:17+00:00
State: open

Line 76

```php
if (array_key_exists($type, $messages))
return $messages[$type];
```

Should be

```php
if (array_key_exists($type, $messages))
return count($messages[$type]);
```