Gist: Fix diff line counters