How much do you think it costs? In this sentence, you probably do not know what the price of "it" is. You are asking someone for an opinion on what the price of "it" might be.
Which boy do you like to know? => You could say "Which boy would you like to