Finish counting locations in the scanner