Count how many times your iOS or Mac OS X app has been launched, and optionally register blocks for when a certain number of launches has occurred.