as i expect you can have as many as you want or program memory is able to contain them.

I don't see any reason why it should have a maximum. BUT maybe i'm wrong.

Sometime SELECT CASE is a good way to reduce IF THEN statements.