Created a ResultInterface to ensure the Cache class is compatible with the Result class
Added rowCount/columnCount methods to the cache class