Adding configurable operation count

Adding configurable operation count