When you count carbs in foods that you cook, you will have to measure the portion of food after cooking it. For example, cooked long grain rice has 15 grams of carbohydrate per 1/3 cup. If you eat a cup of cooked long grain rice, you will be eating 45 grams of carbohydrates.