removed > 0 in comment calculation condition