updating env variables count