Ultimately it also depends on the type of music.
For example, modern Gospel is a bit difficult to play without five strings or, rather, inadequate. Plus, in R&B/Soul and modern metal it's good to have a B string (even a half step or even a tone tuned lower, which is very common in Gospel).
I originally played guitar, so my first bass over twenty years ago was a six-string bass. Initially I used 6 strings because it was easier for me to visualize the bass, after about ten years of playing the guitar you form a muscle memory when approaching scales, that's why I tuned the C string to B, because I was still thinking and visualizing the instrument like a guitarist. But I realized that if the B string is necessary, I really can't play without it, I can't say the same about the C string. So a few months after I switched from guitar to bass, I bought two 5-string basses (Peavey Cirrus 5 and a Godin Freeway 5) and sold the 6-string bass (Peavey Grind 6). And ironically, at the time I didn't even think I would be a bass player, I mean I didn't give up playing guitar, I simply got involved in a funk project, where they needed a bass player, because at that time I started listening to Jamiroquai and Level 42 and I said to myself, let's get involved as a bass player in that band, it's so much fun. I became a bass player because shortly after I started playing with those "funky" guys, a famous jazz pianist in Romania (Harry Tavitian) saw me and invited me to play with him. That was also the moment when I started earning money from playing, so I stayed on bass (at a single concert with Harry Tavitian I earned more than the monthly salary of a normal worker in Romania at the time, which for me was clearly the reason why I never went back to playing guitar).
I've never played 4 strings, I use the B string a lot, especially since I play in a post progressive metal band (with elements of djent and metalcore), but I also record for other artists. I have a lot of studio work, in the sense that I record something every 3-4 weeks, sometimes more often, sometimes less often, it depends. But in modern music, which is bass heavy, it's hard to do that without a 5-string bass and more effects than you would normally need.
Because I've never played a 4-string bass, I automatically think of bass themes using the B string a lot. Especially since you have the advantage of using two octaves without having to move around the fretboard a lot.