Corrected total_count for collections

Hi Peter,

I corrected the total_count for collections. (I removed the spelling mistake from my branch name - seems this is now a new branch.) I also changed the line break settings for Git. I hope this look OK now. 
On the other hand, I think all the 'noise' is still there. Maybe you can just take the two files I changed?

Anja