Implemented the count method
Implemented distinct method

* implemented the method
* created tests
* updated the readme