add support of count method + readme