Number of results from cache query was incorrectly logged (0.9.x)

This was always logging "1" instead of the actual number of results.