Quantifying the Plasmonic Character of Optical Excitations in Nanostructures