The word 'an' is a variation of the indefinite article 'a' and is used when the first sound of the word following the article is that of a vowel.
Examples are: an apple, an elephant, an infant, an...
"Dedicated" is a verb that implies directionality (towards a noun), similar in concepts to the words "pointed" and "drink/drank" (when preparing a toast), so when using the word, it should be said...
There is a children's rime which goes: There were ten in the bed, and the little one said: "Roll over, roll over!" So ten in the bed is a correct usage in English.