faster version (less copying) for serializable parallel_count.
added missing tcp examples.