bathing trunks vs swimming costume

bathing trunks

noun
  • A pair of shorts or briefs worn for swimming or bathing. 

swimming costume

noun
  • the garments that one wears when bathing in the sea or a swimming pool, especially the one-piece garment worn by women and girls. 

How often have the words bathing trunks and swimming costume occurred in a corpus of books? (source: Google Ngram Viewer )