Query how many diff deltas are there in a diff filtered by type.
This works just like git_diff_entrycount()
with an extra parameter
that is a git_delta_t
and returns just the count of how many deltas
match that particular type.
Count of number of deltas matching delta_t type