#216
Again: see this scientific paper
https://arxiv.org/pdf/2112.09386.pdf
It gives the upper bound of 3.8521*10^37 legal positions.
32 men 1.89 × 10^33
31 men 1.71 × 10^34
30 men 1.64 × 10^35
29 men 1.53 × 10^36
28 men 5.46 × 10^36
27 men 1.05 × 10^37
26 men 1.08 × 10^37
25 men 6.14 × 10^36
24 men 3.19 × 10^36
23 men 5.66 × 10^35
#222
Yes, some positions with 4 or even 5 queens or 3 knights can be relevant and thus are not counted. But on the other hand a number of positions with very weird pawn structures, like quadrupled pawns is counted and does not occur in any real game. So the upper bound without excess promotions is a good measure. It is too large, it leaves out some relevant positions, but it counts in some non relevant positions, so it is about right for the purpose.