Improve total_size in view of -1 size values.
Improve total_size in view of -1 size values.

Alex-Ian-Hamilton/sunpy,dpshelio/sunpy,Alex-Ian-Hamilton/sunpy,Alex-Ian-Hamilton/sunpy,dpshelio/sunpy,mjm159/sunpy,dpshelio/sunpy,mjm159/sunpy