This seems pretty simple, must be missing something - how would I create a 'calculate' field in survey123 to count the number of submitted records that meet a certain criteria (e.g. ${defects}='n') to use in another calculation? The count function in S123 seems to apply to the number of multi-select responses... is there another way? Thanks, cob

Sharing a sample XLSForm illustrating use of count() and sum().

Added in version 2.1 World Milk Day Release (2.1)