fix bug of type request, the count should init to 0