Use a unique number to distinguish multiple result sets

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>