'Get the number of visits for this question.'

@property
def num_visits(self):

    if (not hasattr(self, '_num_visits')):
        try:
            self._num_visits = QuestionVisits.objects.get(question=self).visits
        except QuestionVisits.DoesNotExist:
            self._num_visits = None
    return self._num_visits
