New Worst-Case Upper Bound for #2-SAT and #3-SAT with the Number of Clauses as the Parameter