Implement union for counter vectors.