Calculate the sum of statuses for each user

Hi Dan,

Please review this little patch that sum up the number of each status occurrence for each user, and display it at the bottom of the attendance table.

Nadav :-)
Merge pull request #27 from nadavkav/patch-3

Calculate the sum of statuses for each user