rub against vs rub painfully

rub against

rub painfully

How often have the words rub against and rub painfully occurred in a corpus of books? (source: Google Ngram Viewer )