Countable when referring to individual pieces of clothing like a pair of kaki pants. Uncountable when referring to the fabric material itself.