Not too far into the past, there was a clear divide in electric guitars. There were solidbody guitars which had just six strings and hollow-bodied acoustics which had all the strings and hardware of an acoustic guitar. Today, six string electric guitars are the norm and most models contain 21 frets. However, models with 22 or 24 frets are common as well.
Looking for a 24 fret electric guitar? Look here.