Automata-Based Model Counting String Constraint Solver For Vulnerability Analysis