I think you want:
Code:
program:
cmp(
raw_field('#number_fandoms'),
2,
'single-fandom',
'two-fandoms',
'three-or-more-fandoms'
)
(change precise text to match what you want.)
cmp requires "lt, eq, gt" values, not just "gt" -- that is where you went wrong.