Adding totalEntries field to smartstore cursor (javascript)