Fixed bugs in count of committed instructions