let the mapping also take the count argument