12 times then you go to Sea Spirit's Den and there you catch it. You can locate the bird with the Pokedex when you see it the first time.
Source