Topic: Mathematics Problem / Level: intermediate

Problem: Implement a function to calculate the total number of prime factors of a number.

Run the code to see the output here...