Scraping record count now returns '-1' on failure

Fixes #86.