keep a count of failed packages (close #3)
forgot to import sys
Merge pull request #4 from iuscommunity/failcount

Failcount