Does an uncompleted attempt count for self destruct count?

When typing a sub10 key code (onlykey doesn’t unlock) and then pulling it out of the port, putting it back in and trying again, does that count as a unlock attempt for the self destruct count?

Yes any attempt counts