Updated set_found_posts to check new COUNT method