Refactoring: summary: Extract variables for the two main summaries.
Refactoring: summary: Shuffle blocks around.

So that the queries and reporting stand together. This also has the slight benefit that the two main summary lines appear sooner now.
summary: Add partially done counts (queried via lsdopart action).