Create Changing a bound variable

he Cold Closures Cove devs are troubled by the amount of the alerts that have been coming back from the Cove Rangers lately. Some obstacles have been particularly troublesome, while others are not as frequent threats. They’d like you modify the warning functions to internally count the number of times a particular obstacle has been encountered, and then add that number of alerts to the message. Again, you won’t be passing in a counted amount yourself, but having each message function keep track of the count for you.

The format of the new message should match the following, and you can use count as the tracker in your new build:

Beware! There have been <obstacle> sightings in the Cove today!
<number> <obstacle>(s) spotted at the <location>!
This is Alert #<count> today for <obstacle> danger.