added method to count still-to-do items ref #1