Black’s queen took your bishop, and your queen took Black’s bishop. Count the full exchange rather than treating the first capture as the result.