Writing numbers of pieces on pieces image.