numberOfKnocks

Can you attach the code? It's difficult to answer without the code.