Please devs could you explain the militar score where it comes from?

some times i have less pop than my allies buti have double militar score, could you explain me how is it calculated?
if it includes militar buildings, stats of units etc.
can you explain the math?¿

Total resource value of all military units/buildings/techs that you currently have.

thank you, bro, thanks for help, would be good if we could see military units score or military score without counting militar buildings score

the militar score value of a militar unit is taken as the base value right?? not the value with discounts

Correct, the base values.