Is there a reason that your query thinks your numbers are text? It might be worth investigating to make sure it doesn't cause you other problems.
As it stands though, try using the Val function, which interprets strings as numbers if possible, ie:
TotalMems...