at a high cost vs with much loss

at a high cost

with much loss

How often have the words at a high cost and with much loss occurred in a corpus of books? (source: Google Ngram Viewer )