beachwear vs swimming costume

beachwear

noun
  • Clothing suitable for wearing on the beach, though not necessarily for swimming in. 

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 beachwear and swimming costume occurred in a corpus of books? (source: Google Ngram Viewer )