However, the expression  would also be said to contain four literals, because although two of the literals are identical ( appears twice) these qualify as two separate occurrences.
However, the expression is still counted with four literals, even though two of them are duplicates (appearing twice), because each instance counts separately.