Find numbers that should be extracted to a var or const statement