meal count calculation on tickets