How to take the mean of a PackedSequence

Given a PackedSequence B x S, how can I efficiently take the mean of the sequence (S) values? Thanks in advance