Text this: Photon-Counting Spectrometers Based on Superconducting Nanowire Single-Photon Detectors