Add size and index method to TodoDataManager