The app icon badge can be set by:
[UIApplication sharedApplication].applicationIconBadgeNumber = 42; //Number of Days
For example, if your label said just a number, you could use this code:
NSInteger number = self.myLabel.text.integerValue;
[UIApplication sharedApplication].iconBadgeNumber = number;