Measuring the flow of molecules in cells