Here's the breakdown:
* "Bottle of perfume" as a unit: When you talk about a "bottle of perfume," you're referring to a single, complete item. In this case, it's a count noun. You can have one bottle, two bottles, etc.
* "Perfume" as a substance: When you're talking about the liquid inside the bottle, you're referring to the perfume as a substance. In this case, it's a mass noun. You can't have one perfume, two perfumes, etc. You have *some* perfume or *a lot* of perfume.
So, it's both! It depends on how you're using the word.