add error statistics on controller side 

add error statistics on controller side .
WorkContext class preserve HashMap which contains driver's url as key and its value is a Hashmap which containers error code and its number.