[tf-rmm] Measuring number of instructions for a workload in realm