The rule i used was to discard comments from the counting regardless if the thread was still there.
Did you pause for one second between scraping posts? If you scrape too fast, you'll get empty pages, which could explain you missed about half the merited posts.