How to count total Item in sales/Purchase invoices

How to count total Item in sales/Purchase invoices

Search the forum. This topic has been discussed numerous times.

Not A good Idea can be confusing