[tor-commits] [tor/master] Improve #include counting func and move it to metrics.py.