Fix count serialization
Use source variable instead
Merge pull request #1017 from querydsl/i1015

Fix count serialization