According to the Scottish Government's June 2021 Agricultural Census, there were 172,000 goats in Scotland.
Goat milk (cheese, yogurt, soap), meat (cabrito, curry goat), fiber (cashmere, mohair), conservation grazing (bracken, gorse control). Scotch Goat PGI application pending.
Scottish Government Results from the June 2021 Agricultural Census (published 2022). Next census 2024. UK total: ~110,000 (England) + 172,000 (Scotland) + ~10,000 (Wales/NI) ≈ 292,000.