The nc-value is the hexadecimal count of the number of requests (including the current request) that the client has sent with the nonce value in this request. For example, in the first request sent in response to a given nonce value, the client sends "nc=00000001".
According to rfc2617 https://tools.ietf.org/html/rfc2617
The
@nonce_countinstance variable is initialized to -1, it should be set to 0.