Fixed Course Count query, still need to fix bugged query
many shit