Those ambiguities make no difference to the answer. Answering 4.5 just means you forgot that starting a count from 0 gives a different total than starting from 1.
If you're using the set of integers, then [1,9) is equivalent to [1,8]; and that would have a different answer from 5 for "what the center is"; so, it does affect the answer.