Foreign Tax

Under deductions, there is a section on foreign tax paid. It states that if you get dividend income from foreign countries you must list a 1099-Div from each country instead of just one inclusive of US and Foreign. Some stock accounts have multiple boxes filled(e.g. capital gains distribution, etc.) Do I just fill that info once or repeat it for each country? Also, some foreign countries show no foreign tax paid. Do I include the dividends reported from those countries with US dividends or separately. If separately, where do I indicate which country?