Test for number of operations