Bees/hornets don't remember faces but can detect fermones released with fear. They can also tag you with fermones that signal the hive on how to treat you. They tend to fly into people in an attempt to push them away from the hive, maybe 3 will do it, maybe 5, maybe 1, it depends on how aggressive or friendly they are and if you're walking peacefully or not.
Honey bees are different, an apiary tries to keep only friendly hives and re-queen aggressive ones. Some hives you can walk up to and touch the bees, some are only that civil with the beekeeper, some are more aggressive.
In the wild you don't know what you'll run into. I've had super-social hornet nests where you can touch them, and some fairly non-friendly ones. What I learned is the aggressiveness changes throughout the year and with increasing hive size, not for the better typically. As much as I love nature I've learned to respect that the eventual outcome may necessitate immediate action. If needed I'll postpone cutting and set up 2-liter hornet traps and empty a hive before myself or someone else is attacked. I love nature, but nature isn't always as kind as movies suggest.