Return process collection with optional count.
Optional count option for when getting collection, and when total is already not known.
Reintroduced missing line.
Merge remote-tracking branch 'remotes/origin/remove_count'