Give your beehive an instance variable and compare this instance in your event sheet when spawning the bees:
E.g
Call the instance variable Bee count - set it to 10 (or however many you want)
Then in your events
Beehive - has los with player
(Compare instance variable)
Bee count greater than 0 ---- Beehive spawn bee
Bee - on created --- subtract 1 from Bee count