int? getPieceConnectedPeerCount(int index) => isAlreadyHavePiece(index) ? piecesCount.elementAtOrNull(index) : null;