Added Total Variable

Added Total Variable