No problem at all @kunna.
If a child is being restarted, then which_children/1 will return :restarting for the second element in the tuple, so you can use that in combination with count_children/1. Please see the documentation for which_children/1.
Yes, you can make a JobTerminator GenServer that does that.