Add fetch options, count, and groupped all

Add new functionalities to ResultSet.