TokenService.queryNumberOfTokens Method
        
 Gets the number of tokens corresponding to query criteria.
 
         
        Parameters
        
            - filter
            
 
            - 
                
Type: Array
ElementType: dundas.token.QueryFilterRule
(optional) The filter options for the result, or null if the filtering doesn't matter.
Optional: True 
        
        Return Value
        
Type: jQuery.Promise
        
Value: int
        
Element Value: int
        
A promise object that is resolved when the call is complete.
 If successful, an int containing the number of tokens that match the filter is returned.