How to find observed frequenty?