Just so you know, you can also use --exclude as a parameter for diff. Your line would then look like:
diff -urqA --exclude=.svn | wc -l