Detects opportunity of counting entities in parallel with other stages

To avoid going over the node and relationship stores twice after importing
its data. The deciding factor is whether or not there are enough memory
available to be able to populate state for counting entities while the
node -> relationship cache is still in use.