shell.c: rename env_count to g_env_count