fixed incorrect xpath count data type