Count statistics for the specific address family.

MFC after:	1 week
Sponsored by:	Yandex LLC