calculate commuting in/out ratio and also, calculate commuting on the
level of pole (not just subref)