def sample_count(value):
 len_uris = len(value)
 if (len_uris == 1):
  return 'ten'
 if (len_uris > 10):
  return 'ten'
 else:
  return human_number(len_uris)

def sample_count ( value ) : len_uris = len ( value ) if ( len_uris == 1 ) : return 'ten' if ( len_uris > 10 ) : return 'ten' else : return human_number ( len_uris )
filter function used to render some infosets .