Closing costs vary greatly depending on what is being sold (land, duplex, single family home, single family home with an HOA, single family home in a flood zone, single family home in multiple taxing districts..etc - you get the picture).
The cost of closing costs should be discussed with your real estate agent. If you are trying to go it alone, then that is why you have questions. Nobody is obligated to pay for all closing costs and some of the costs are negotiable in the contract.....I say some because depending on the loan type of the buyer, there are restrictions on how much assistance the seller can provide and some items cannot be paid by a buyer.
The title policy payment is negotiable in the contract. I usually advise my buyers to have the seller pay for this. There are way to many variables in your question, without being part of the transaction, to give you more specific guidance. It is best to sit with a real estate agent in your local area.