First check where the stress is: одинОчество (loneliness), колИчество (quantity)
The stressed О and E are always articulated clearly. In other syllables they turn either into А/И respectively or...