Should fix totalServerItems count issue.

totalServerItems should only be set using a string reference. If it is
something else, will be set to 0.