env: switch DomainFlag::count to ::flag

The field now no longer tracks the number of domains in the stack, but
whether there's an active domain or not. The name change seemed
appropriate.