Counting of votes began Thursday morning for Mainpuri parliamentary constituency, previously represented by Samajwadi Party founder Mulayam Singh Yadav, and Rampur and Khatauli assembly seats in Uttar Pradesh where bypolls were held earlier this week, officials said.