Fixed naming to be more precise

To make more clear, fixed names to be as follows:

TransactionalStorageSize
IndexStorageSize
TotalDatabaseSize

Also fixed a name mismatch to variable.