Added move counter functionality