Added tests for count.
Made API docs parameters more consistent.
Fixed wording of spec.
Merge pull request #27 from airportyh/docs

Docs