YES! A wardrobe does count as a closet.
A wardrobe is a piece of furniture used for storing clothes, shoes, and other items of clothing. It is typically made of wood or metal and may come with doors, drawers, and shelves for organizing the items. A wardrobe can also be used to store items such as jewelry, belts, hats, and other accessories. In some cases, a wardrobe is also used to store linens, towels, and other household items.