combine common functionality of finding queue_size of dynamic and static samplers in a function.
combine common functionality of finding queue_size of dynamic
and static samplers in a function.

joshspeagle/dynesty