come up to scratch vs fit the bill

come up to scratch

fit the bill

verb
  • To satisfy a need; to serve a purpose; to fulfill specified requirements. 

How often have the words come up to scratch and fit the bill occurred in a corpus of books? (source: Google Ngram Viewer )