[MFMC]:[LearnConstrainXeXc]: Add loop counter to gradient descent