Maximum number of subpages per template

I don’t think it can be done now but it would be a useful addition for some cases:
When you have a page that accepts subpages with different templates to be able to set a maximum number of pages per template and not just a total number of subpages.
I think it can be useful for the site blueprint. There are workarounds for it but if it is possible to do it would be nice.