fling shut vs shut with a bang

fling shut

shut with a bang

How often have the words fling shut and shut with a bang occurred in a corpus of books? (source: Google Ngram Viewer )