add ruby and spec file for todo16
add tests for count method
add code for count method