You can change the formulas in B11:C11 and like cells to

=SUBTOTAL(1, B6:B10)

Then the formula in B82 is

=SUBTOTAL(1, B4:B80)