N$$ \mathcal{N} $$ = 1 supersymmetric indices and the four-dimensional A-model