Adding parallel::count for distributed data structures, adding tests