contar com o ovo no cu da galinha

Etymology
lit. 'rely on the egg in the chicken's asshole'.

Verb

 * 1)  to count one's chickens before they hatch to count on something before it happens