Latent class analysis of endoreduplicated nuclei in confocal microscopy