PrimeCounterTask whose constructor takes a minimum and a maximum number and whose compute method
PrimeCounter which
> java PrimeCounter 1 10000000 664579 prime numbers found in 4.859 seconds(The table on the Wikipedia page of the prime-counting function can be used to verify the results.)