Fixing counter of types of instructions