Added base counting to seqstat