Docs

Added tests for count. And made API docs' parameters more consistent.