how to find the relative frequencies