#!/bin/bash
LC_ALL=C ifconfig -a | grep -c -e "^eth|^lan|^wan"

