Lesson 2 - CountDiv (from scratch)