--- from: http://rosettacode.org/wiki/Count_in_factors note: Prime Numbers