You really have answered your own question. You say you want to count the swaps, then have put a comment exactly where you swap items.... so just increment the swapcount there.
As a display error you are using print as opposed to println, which is making your numbers appear side by side and indistinguishable from each other