A method to quantify mycobacteria infection of cells from in vitro experiments