There is no secret stocking formula because there's so many factors that go into it: type of fish, plants, what you feed, how much you feed, water change schedule, filtration, and the list goes on. It'd be impossible to capture all that in a formula, so I think the inch per gallon rule caught on because it's easy to remember, easy to apply, and gives a reasonable estimate. As you gain more experience, you can fine tune what works for you.
Personally I think your stocking level is pretty reasonable, but I might just be giddy to see a betta going into something bigger than 0.25 gallons (poor things!). Are those plants in your tank live or fake? If they're live, that'll also help keep levels in check, and I see you have a test kit standing at the ready so that's a good sign as well.
That said, I don't have any experience keeping bettas with other tankmates, so I'd defer to others on compatibility of those 2 species.