Adding functions to get number of given card type