Quick question, is there an internal counter in Kolmafia that keeps track of how many bird attacks you've performed? I can keep track of it programmatically, but I figure if it exists already why reinvent the wheel?
Yes; take a look at the "Form of...Bird!" entry in the relay browser effects list.
If you need to access the counters from a script, the preferences holding them are:
birdformCold
birdformHot
birdformRoc
birdformSleaze
birdformSpooky
birdformStench
Not yet. Best thing to do is just open your settings directory and read through your settings file ("yourname_prefs.txt"). Those are all the variables that mafia tracks for your character across sessions.