The number of nonfatal shootings in Pittsburgh through the first half of the year is down about 24% from last year’s total, which was the highest in more than a decade.