What is the maximum number of pitches you can get at one at bat?

Infinate because of fouls.