Titanium Superconducting Photon-Number-Resolving Detector