Try This
= DCount("*", "Job Summary Query", "SIndex =" & SIndex & " And Index =" & [Index])
Here the assumption is that both fields are numeric. If they are text then it will go like this
= DCount("*", "Job Summary Query", "SIndex ='" & SIndex & "' And Index ='" & [Index] & "'")
Cheers!
Aqif