add wait to method that counts number of encounters