Statistics for Quantum Hacking in the Age of Measurement-Device-Independent Quantum Cryptography