How many critical points can a cubic function have?