I would probably keep 40 to 50 in a ten gallon tank myself. You would have a hard time seeing just 5 in that size of tank.
Even with 18 dwarfs in my 5 gallon, it's hard to find them. It would also be problematic for the high density feeding needed as you need to have enough density to provide sufficient food passing by where ever they hitch in the tank. Most of them won't hunt the food down but rather snick up something passing by them.
You need the same density pretty well for 5 as for 50.
You have to be prepared for a lot of daily cleaning as you need to remove uneaten food after each feeding.
To feed, you need to decap and hatch brine shrimp cysts and then grow out the nauplii for a day so they develop their digestive system, and then enrich them in two 12 hour stages with new water and new food for each of the two stages, preferably using Dan's Food for the enrichment process.
Removal of food after feeding is to prevent them from later feeding on brine shrimp that have lost their enrichment and are not capable of providing near as much nutrient for the seahorses.
You need to turn off the filter while feeding, and even after feeding you need to protect the intake of the filter so that the dwarfs cannot be sucked against the intake.
I don't use a heater in mine and temperature until summer usually runs 69° to 70°, but in summer I need a fan blowing on the tank to maintain 74° or lower, or, turn on the A/C when my larger seahorse tanks start to warm up too much.
You have no need of carbon dosing, nor any additives at all as frequent partial water changes provide anything needed.
You need to remember also that whoever is fish sitting while you are away, are capable of maintaining the hatching, enrichment, and feeding of the live brine to your seahorses, and then following up with proper husbandry.
Don't let them go more than a day a week without feeding.
Are there any tankmates in this tank or have their been any livestock that may have left behind pathogens that may be detrimental to your proposed seahorses?