Added if statement for how to use number of accession occurrences