For validation of trial environment : environment count can no longer be changed once there is a measurement with a value for variates

Post commit code review : Daniel Jao