function y = count(x)
switch x
    case 1
        y = 'one';
    case 2
        y = 'two';
    otherwise
        y = 'many';
end