How To Find Frequency Distribution In R