#define SECURITY_INSTALLER_CAPABILITY_RID_COUNT (10)
Note: This is because the App Capability Rid is S-1-15-3-1024-... whereas the service group rid is S-1-5-32-... The number of RIDs from hash (8) are the same for both