nested op counting; included quad1, quad2, hyp, amean, gmean