Improving maximum count rate of superconducting nanowire single-photon detector with small active area using series attenuator