Battery Group Size

What battery group size fits in the stock battery tray? My current battery is a group 24 but I cannot find any group 24 batteries that are the AGM style.

Also do the AGM style still get acid/corrosion on the terminals or do they remain clean?