Don't need to declare count, use 
for index, item in enumerate(course.tabs):
    print (index+1), '"' + item.get('type') + '"', '"' + item.get('name', '') + '"'