correctly counts nops