Count operator for observables