How to add field to diffrent file using shellscript? or awk

hi,
would you help me?
i have file total.csv

"a","e23","f"
 "b,"34d","g"
 "c","45f","f"
 "d","45s","f"

count.csv
3

i do this :
paste -d',",' total.csv count.csv
but the result like this:

 
"a,"e23","f" 3
 "b,"34d","g"
 "c","45f","f"
 "d","45s","f"

i want the output like this:

 
"a,"e23","f","3"
 "b,"34d","g","3"
 "c","45f","f","3"
 "d","45s","f","3"
Moderator comments were removed during original forum migration.