Sorry I messed up. Plural genitive of "неделя" is "НЕДЕЛЬ". So mainly I wondered why in this case it was plural genitive (instead of accusative) but in

"я бывал в пяти странах"

it is in plural...