The first sentence should be..
"I visit my hometown about two or three times a year"
While in the second sentence maybe grammatically incorrect
It should be "I visit my hometown twice or thrice a year
See http://dictionary.cambridge.org/de/worterbuch/englisch/twice