Add more capable hg incoming and outgoing count handling

The original `hgic` and `hgoc` aliases worked well for the default path, but attempting to call them with a different path failed. I created functions to handle them instead.