Pasta and rice are heavier when they are cooked as they absorb the liquid they are cooked in. Use the dried weight which is on the packet.
I made a list of the portion size of all the veg - fruit - pasta - rice etc that I eat and keep it by the scales then I can refer to it straight away.
Good Luck with your Calorie Counting.