Fixed the way count is applied to move motion