Replace hardcoded numbers. Also use interface-local scope name instead
of node-local.
Fix accounting after the r249528, also add several another counters to
the statistics.