Make lists countable using count()

Added a `count()` method and made the list implement the `Countable` interface for easy counting using the build in `count()` function.