One of my questions has reached 10000 views, but I haven't got a gold badge still. Is it because of a rounding, i.e., is the count in between 9500-10000?
Indeed, the number you see in your profile is rounded up. You can hover over it to see the actual figure, or visit the question itself and check the stats on the right-hand side.
Also, note that barely any badges are awarded instantly, especially not gold ones. The scripts that award them run in various intervals, going up all the way to 24 hours. So even if you did qualify for the badge right now you might still have to wait for one more day.