Calculate operands and uniq operands count