Include sample count in header