Olympics: What is the correct way to count medals?

How about counting the medals according to country the athlete trains in?