docs: function (filter) {
      if (cardCount > 0) {
        return cardCount;
      }
      else {
        cardCount = 0;
    
        if (filter) {
          filter = filter.toLowerCase();
    
          _.each(_.keys(cardPacks), function (packKey) {
            _.each(_.keys(cardPacks[packKey].cards), function (cardKey) {
              var card = cardPacks[packKey].cards[cardKey];
    
              if (Fuzzy(filter, card.name.toLowerCase())) {
                cardCount = cardCount + 1;
              }
            });
          });
        }
        else {
          _.each(_.keys(cardPacks), function (packKey) {
            cardCount = cardCount + _.keys(cardPacks[packKey].cards).length;
          });
        }
    
        return cardCount;
      }
    }