'returns the sum of bulk purchases seats.'

@classmethod
def get_bulk_purchased_seat_count(cls, course_key, status='purchased'):

    total = 0
    result = cls.objects.filter(course_id=course_key, status=status).aggregate(total=Sum('qty'))
    if (result['total'] is not None):
        total = result['total']
    return total
