it looks like the ui is calling a method `totalSupply` that is not defined in the Date.sol. What would that function look like?