def spacesCount(text):
            return len(text) - len(text.rstrip(' '))
def delete_snapshot(self, snapshot_id):
        """Delete Snapshot."""
        return self.delete("snapshots/%s" % str(snapshot_id))