Rename attendance-duration variable; add attendance-count variable
Rename attendance-duration variable; add attendance-count variable