Win by a nose

To win by a small amount.

The candidate won by a nose so they had to count the votes again.