some random style nits

most of these were suggested by intellij but pass a gut check to me; lmk if you there are conventions that we should decide more clearly one way or the other on.
I think it was avoiding an extra copy of the sequence before, but now with count it's much better, and I think the view can be dropped.