Search now returns null instead of -1,-1.

Count's response includes the resource requested and "special":"count".