Combining participants with different slice counts

That depends…

For group analysis, different number of slices, but otherwise same voxel resolution may be treated as missing data in programs like 3dLME.