Statistics for Diabetic retinopathy grading with respect to the segmented lesions