Issue #16: Added getter for the number of courses

The _courses field in ProfInfo is private; added getter method.