Returns the number of users assigned to group. This is a contains function, so you don't need to be exact.
Users[?contains(to_string(assignedGroups[]), 'Group')].displayName | length(@)