Minute Counting?

If a workflow does a matrix build of say both java 8 and java 11. One takes 16min and one takes 22min, is that 38mins out of the free tier’s 2000 or just 22 (the longest running of the set)?

Also can someone clarify this:

It initially says “Unlimited for Public/Private” repos but that’s referring to use of actions/workflows right, that is still actually bounded by the 2000 minutes mentioned a few lines below?

Okay so I partially found my answer, looking at billing in one of our orgs:

I’d still like to know how it’s counted for private repos (cumulative in matrix or longest running). But it seems it shouldn’t matter for public repos (which is most of the projects I work on).