Project Euler 268 - Counting numbers with at least four distinct prime factors less than 100

Official link: https://projecteuler.net/problem=268