Added support for counting combined operations