track distinct nodes