{T}: Put a +1/+1 counter on target creature for each Elf you control.
The number of counters to put on the target creature is determined only as Immaculate Magistrate's ability resolves. Elves coming and going later won't cause that creature to gain or lose +1/+1 counters.
The target creature doesn't have to be an Elf.