slices: Add count.
Slice documentation and small improvements for C++11 helpers.