bug in density attribute computation for SparseSeries
```
ts = Series(randn(10))
ts[2:-2] = nan
sts = ts.to_sparse()
print sts
print sts.density
```

results in:

  return float(len(self.sp_index)) / len(self.index)
TypeError: object of type 'pandas._sparse.BlockIndex' has no len()
