Deductions & credits

on 1099-DIV box 7 line d TT put in a number. My question is how did TT come up with this number? Vanguard does not breakdown dividends between foreign and US, so how the heck does TT know which part is foreign????