How to find sample proportion in statistics