Created variable total

Created variable total