hg: refactor outgoing commits counting
hg: refactor outgoing commits counting

Rename variable 'has_commit' to 'commits' and declare it as integer.

joshuarubin/dotfiles,enrdstrm/liquidprompt,dpilone/liquidprompt,elementalvoid/liquidprompt,nojhan/liquidprompt,laurentbardin/liquidprompt,smadhueagle/liquidprompt,jaesivsm/liquidprompt,lyoshenka/liquidprompt,joshuarubin/dotfiles,colinlieberman/liquidprompt,timhyson/liquidprompt,dan-cleinmark/liquidprompt,BobHood/liquidprompt,joshuarubin/dotfiles,alexprengere/liquidprompt,joshuarubin/dotfiles,tsbarnes/liquidprompt,tocomo/liquidprompt,tkuminecz/liquidprompt,jonathanjsimon/liquidprompt,tstone2077/liquidprompt,mathieumd/liquidprompt,dtschan/liquidprompt,pkkolos/liquidprompt,kenrachynski/liquidprompt,milouse/liquidprompt,illwieckz/liquidprompt