Add DIOCGETSTATESSTATS so userspace can get a reasonable estimate of how
much memory will be required to read out the full state tabe (with
DIOCGETSTATESNV).
It returns both the current number of states and an estimate of the size
per state.
Users of the call need to be aware that the number of states
may change between the DOICGETSTATESSTATS and DIOCGETSTATESNV calls.
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")