Basically during
GC/
HH era an Ultramarines Chapter was composed of ten companies each a thousand line-Marines strong. So ten companies per Chapter means at least ten thousand line-marines per UM legion chapter. With there being 250000 Ultramarines, it means they had 25 Chapters.
What I am trying to get at is that if these numbers only include the amount of front line infantry Marines.
https://wh40k.lexicanum.com/wiki/Ultramarines
"
During the Great Crusade and Horus Heresy, the Ultramarines were a much larger Legion commanded by Roboute Guilliman. Beneath him were Chapter Masters who led approximately 10,000 warriors and a segment of the Legion fleet. Each Chapter was in turn divided into ten Companies of 1,000 under the command of a Captain.[50]"
The source for this is
HH book five.