Merge "Add new method to count how many apps have permissions"