Added nrOfTimes(int count) functionality

Can't really thing of any other way than this. Anyone know how to actually test this out?