add a max count to configurable role-app specifications.