Calculate stash count from logs file

This is a lot faster than the `git stash list` command