added remaining and inflection properties to todos controller to properly display amount of incomplete tasks left