If you don't control three or more creatures as Leonin Vanguard's ability resolves, the ability does nothing. However, if you do control three or more creatures as it resolves, the +1/+1 bonus doesn't stop applying if you no longer control three creatures later in the turn.