Calculate all operations count