count operations done