changed how I am building Y in the dataCounts