modify UI for derive total number of day