Computing bunch size from the output