Made count array one larger. Only one transfer needed then