Number of compounds from the following which will not dissolve in cold NaHCO and NaOH solutions but will dissolve in hot NaOH solution is ______.

Cold dissolves carboxylic acids, and cold dissolves carboxylic acids and phenols; esters dissolve only in hot , which hydrolyses them to water-soluble carboxylate and alkoxide or phenoxide salts.
4-Methylbenzoic acid dissolves in cold , and the two phenols, 2-hydroxyacetophenone and 3-hydroxy-5-methylbenzaldehyde, dissolve in cold , so all three are excluded.
1-Isopropyl-3-methoxybenzene is an ether with no acidic hydrogen and is not cleaved even by hot , so it is excluded.
The three esters, methyl benzoate, 4-methylphenyl methanoate and phenyl ethanoate, are insoluble in cold and cold but dissolve in hot by saponification.
Hence, the answer is 3.
Tagged Reactions of carboxylic acids. Machine-assigned, so read it as a strong shortlist rather than a verdict.