Uncertainty analysis of cell counting by metabolic assays