I was wondering if the indefinite article "a" is necessary in the following sentences, whereas the noun "sweat" in an uncountable word.
- I broke out in a cold sweat from pain.
- I broke out in a sweat from embarrassment.
Please kindly clarify the reason why this article is used along with the noun "sweat".