Count leading zero

Sorry didn’t read last post, was replying to first one