**Category:** Calculus  
**Subtype:** Derivatives and Critical Points  
**Problem Description:** Determine the number of critical points of the function \(f(x)\) given its derivative \(f^{\prime}(x)=(x-1)(x+2)^{2}\).