Introduce second task tree by name
Count the number of keys rather than the number of 'Keys' sections
small optimization