Outlined function to calculate total bee stings.

Outlined function to calculate total bee stings.