Methods to get counted courses for search