show total sentences correctly on sentences widget (fixes #42)