main file to auto-scroll, count list when it reaches the end of the list and then display the count