If the second marble hits a wall before it comes to stop, will it still count for bonus?
No, if a marble touches a wall, they will not receive these bonus points. Neither marble is allowed to touch anything other that the "base" and each other once they both have started rolling. They must stop on their own.