Star counts in the globular cluster omega Centauri. I. Bright stellar components