made todo count count dynamically based on completed todos