def new_challenge_count(self):
        """Returns the number of newly available challenges in the user's current level."""
        if self.new_challenges:
            challenge_count = utils.CHALLENGE_COUNT_PER_LVL[self.level-1]
            completed_challenge_count = len(CompletedChallenge.objects.filter(profile=self,
                                                                              challenge__level=self.level))
            return challenge_count - completed_challenge_count
        else:
            return 0