Switch in to unsigned int

No chance of having negative counts, lots of
libgit values are size_t which translates well to unsigned int