Query describing page count associated to SPID