Fixes "total_count not defined" error for Facebook.