Adjusted statistics::do_command() so commandcount is used as a reference (it seemed that was the original intent).  Does this fix the Yo freeze bug?