find no of integration points

Hi,

i used following code to find stress of element 500. but later i knew that this will give me stress on integration point 500. can someone say is there way to find total number of integration points in my model

mystress = myOdb.steps[Loading].frames[6].fieldOutputs['S'].values[500].mises