First count, then implode.