Get the number of lines in a hunk.
The git_patch object
Index of the hunk
Number of lines in hunk or -1 if invalid hunk index