modification to allow displaying label of number of apps and number of permissions