SubjectAttendaceDatewiseCount  - Total lecture showing wrong & Also Total Attended lecture count wrong
Check Attachment for that 

CS_1471_SubjectAttendaceDatewise - Need proper formate as per attached excel