Mark Earl added the function spacesUsed()