ace up sleeve vs means

ace up sleeve

means

noun
  • An instrument or condition for attaining a purpose. 

  • Resources; riches. 

How often have the words ace up sleeve and means occurred in a corpus of books? (source: Google Ngram Viewer )