code: func (x *Intention) countExact(ns, n string) int {
  	// If NS is wildcard, it must be zero since wildcards only follow exact
  	if ns == IntentionWildcard {
  		return 0
  	}
  
  	// Same reasoning as above, a wildcard can only follow an exact value
  	// and an exact value cannot follow a wildcard, so if name is a wildcard
  	// we must have exactly one.
  	if n == IntentionWildcard {
  		return 1
  	}
  
  	return 2
  }
docs: // countExact counts the number of exact values (not wildcards) in
  // the given namespace and name.