updated this file for finding number of visitors