how to calculate dwell time - Search