Composer.json update and added count method

Added the way helpers package to the composer.json (test isolation). Also added a count method, including a test.