"I can't say that I've ever used countersteering on my bike."
Yep, every time you turn you use countersteer. You don't even realize it because it is automated in your brain. It is incredibly complex and you figured out how to do it probably when you were about 6 years old without understanding a bit of the physics in any intellectual fashion. That is how good our brains are at balance and upright mobility. In fact, the more you sit upright and don't lean like a racer the more you are depending on countersteer. If you don't counter, you would go over the handlebars as your bike would be pulled toward the turn and your body momentum would keep you moving in a straight line. If you don't lean your body in relation to the bike, you must first force the bike to lean a bit in the opposite direction to force your momentum to start pulling you into a fall. Then, you immediately correct the fall by steering toward the turn and at the end of the turn you oversteer to force your weight back upright. If you don't oversteer at the end of the turn, you will go in a circle.
Where countersteer turning is relevant to the mounting of a battery box is how weight effects handling.
Great weight down low will cause slow steering response in rapid maneuvers as that mass must shift left and right. Too much non-dynamic weight up high will cause the bike to tip over on it's kickstand or while pushing. Is it okay to have weight down low or up high? Yes. Just be aware that the handling will be different for both. If you like the feel of scooters with their heavy batteries down low, that is the place for you. If you like the fast steering response of weight up high in the center, guess where to put your battery box?
Unless you weigh less than your bike, the momentum pivots mostly around your body. Fastest response means putting the weight in the center with you. Having a battery in your lap is not practical.
Regardless of any weight, the bike changes direction due to the contact patches of the tires. If it doesn't, you are in a skid.
The momentum and contact patches are used against each other to accomplish the goal of keeping our body's momentum going in directions of our choosing. If you have the impression from reading this thread that momentum, gyroscopic forces, and contact patches are all doing the same thing, they are not. The rider takes advantage of these different forces to maintain stability in a straight line and to control the chaos of a turn.
************************
BTW! It is entirely possible to turn without leaning the bike and using countersteer. You must move your body way into the inside of the turn to keep the momentum flowing correctly but it is uncomfortable. I've even turned right while leaning the bike left. If you sit still in your seat and don't lean your body, you must lean the bike and the rider together by using countersteer at the beginning. Since your battery box is fixed to the bike, you must factor in how it effects the leaning characteristics of the bike.