This function counts the number of rows containing specific patterns.
countPatternRows(file)
file
A data frame containing the GEDCOM file.
A list with the number of rows containing each pattern.