Fix model initialization code not to overwrite.
Add day count and total count.