"Weighted Averages" for Consolidation Loans counts

This has been asked a couple of times but the threads veer off and I don't see an answer (if there is one yet). From the fact sheet:

"Borrowers will receive a weighted average of existing qualifying payments toward PSLF when they consolidate their Direct Loans. Under current rules, borrowers lose all progress toward forgiveness when they consolidate. Under the new regulations, for example, a borrower with 60 qualifying payments on Direct Loan with a balance of $30,000 who consolidates their loan with another Direct Loan with a balance of $30,000 with 0 qualifying payments will have a new payment count of 30 payments."

The above is confusing. Does the weighted average involve the dollar value of the loans, or it is a just a weighing of the counts?

Example 1: Lets say you are consolidating 100K in loans with 0 qualifying payments, together with 20K in loans with 80 qualifying payments. Is the result a 120K loan with 40 qualifying payments? This seems possible based on their example, but it doesn't seem very "weighted".

Example 2: If we are considering "weight" as "amount of loans", then would the above really come out as more like a 120K loan with 16 qualifying payments, because 20K is 20% of 100K, so they only count 20% of the counts of the smaller loan?

The example 2 logic would seem really unfair as it would deliver less counts for loans which were older and worth less. Anyone know how this is really going to work? TIA!