Updated envVar function to print out the count starting at 1 rather than 0