reset object count, prevents segfault after 0.5M events or so when we run out of TRefs