If the final number of geese was 12, which included the 4 that joined from the trees, then before these 4 joined, there were 12-4=<<12-4=8>>8 geese in the sky.
Since these 8 geese represent the half of geese remaining, then the initial formation contained 8*2=<<8*2=16>>16 geese.
#### 16