count rows after fetching results to make sqlite3 happy
add tests, refer to test_success.py for example usage
update readme to refer to test_success.py for example usage