I am currently working on implementing this feature to the next update. I am planning to design the feature like this: In the "invoice type" there is a new section for rows: it will include the option to disable the "total quantity" (as requested in this feature request) and an option to add the total quantity to the "totals" table:

As you can see, the information is placed at the very bottom of the table, below the "Total" row. The descriptory text (in the screenshot "Total quantity") can be adjusted by the user. The right value is a comma-separated text that groups by the "units" of the invoice. In the example seen in the screenshot, line item 3 doesn't have a unit, therefore it just shows up as "1".
If the users selects "Show in PDF": "If applicable", then the row is only included if there are more than 1 line items.
Is this the behavior you'd expect or do you think anything should change?