I have two variables called count1 and count7
count7=0 count7=$(($count7 + $count1))
This shows an error \"expression is not complete; more tok
var=$((count7 + count1))
Arithmetic in bash uses $((...)) syntax.
$((...))
You do not need to $ symbol within the $(( ))
$
$(( ))