fixed index in count_homz_and_hetz so that sample id is correct