I have retrieved item count for particular field values in my list using CAML Query. But when I try to add up all those counts it's not getting added, infact it is getting appended.
For example, my item count for the values Q1,Q2,Q3 and Q4 are 5 1 0 8 3. When I tried var total=Q1+Q2+Q3+Q4, it is displaying 51083. Can anybody tell whats happening?