Milchmädchenrechnung

Etymology
, from the folktale , about a milkmaid daydreaming of spending the earnings from the milk she carries, which she then spills out of excitement.

Noun

 * 1)  naive calculation, counting the chickens before they're hatched