I have completed 1 and 2 task. You can open modal by clicking attachment icon and select file and view the list of files name with extension.And you see the attachment count only in the first div.