Gets the proportion of the observations that are equal to the supplied string
the proportion
the string