added fix for assignment count issue
Merge pull request #271 from sheebans/master

added fix for assignment count issue