Measuring statistics-induced entanglement entropy with a Hong–Ou–Mandel interferometer