Im making an endless hallway and I'm wondering how do you make it to where if you pass through a teleporter a certain amount of times a questioner pops up

use a zone and counter, when counter reaches certain target open questioner