Return result of query as variable

thank you so much @J.D It works.
the result now is showing the right numbers:
input: GetAllSumVotes (). then ( z => console . log ( “SumAllVotes:” , z ));
output: SumAllVotes: 147

now how can i use the number only tom make addition and subtraction?
using this input doesn’t allow me to make mathematical operation on the number