Modify event_count to use count instead of to_i.
Enumerable.count returns size if it exists otherwise
it counts the items through enumeration. This was
causing errors under 1.9.3.
http://ruby-doc.org/core-1.9.3/Enumerable.html
Removed unecessary require files.
Merge branch 'fix-require-spec' into modify-event-count
Merge pull request #8 from gehrhorn/modify-event-count

Modify event count