Practice swings where you had unnecessary thoughts were useless practice swings.
Practice swings where you simply imitated someone else had no meaning at all.
As long as you continued to swing your sword single-mindedly, without a single other thought, with each swing you could sharpen yourself.