There's a bin full of them in my basement. I don't know where the hell they all come from! I suspect I buy them when I'm drunk.
I usually have one that I keep in the front hall closet for going out in the sun or walking the dog when my hair is a mess; and a ratty old one at the back door for working in the yard. Actually there are about 5 of those that have been worn for hiking, camping, doing building projects, gardening. They are all worn out to some degree, but don't get thrown out.
There's a couple nice felt ones that are for formal wear, but I never seem to wear one when I go someplace formal. Then there must be 25 that somehow showed up at the house and stayed - a lot of them have logos from companies I've dealt with at work, or meetings/conferences/events I've attended.
In my bedroom closet on the top shelf is a red wool one from Jackson Hole Wyoming, purchased in 1982 on a ski trip. I wore it until the seams got thin and it is a little fragile.
That's a lot of baseball hats for someone who doesn't wear them often.