count of courses type bug#1336