add a listsize_ variable so we can get a list's size quickly. not currently correct for multithreaded apps