# MX\_INSTNUM > [HTML Version](mx_instnum.htm) **xcall MIAMEX, MX\_INSTNUM** (Windows) MX\_INSTRUM (MIAMEX 156) returns your "instance number." This is the count of how many A-Shell/Windows sessions are running on your PC.