In short
The number of shades a brand offers in its flagship foundation.
Foundation shades is the number of tones a brand offers in its main foundation line. A wider range spreads further across undertones, from cool to warm and from fair to deep, which usually means a closer match and less blending at home.
The counts differ a lot. Anastasia Beverly Hills offers 44 shades, while Beauty Pie offers 21 shades.
Shade count is not the whole story. Undertone depth and whether the range breaks into separate light, medium and deep families matter as much as the total, and a brand with a small range may restock tones on request.