Extremely lucky. By not much more than 1 inch.
That's a design flaw. The helmet shouldn't have something catchy on it, even to make it looking cool. One property asked to a helmet is to deviate a blow as much as possible, surely not grab it. The difference in the amount of energy transfered to the helmet and the body can be considerable. In some circonstances, that wouldn't make much a difference (either ways), but in some others, you can be injured or killed insteed of just ouchy.