int count =0;
requestUserDto.getNodeIds().forEach(userNodeId->{
    count++; // this statement shows error
     // some another statements here
    }
});
why count++ shows error      
Error:
Local variable i defined in an enclosing scope must be final or effectively final
 
     
    