Update views.py

result table API call returns a maximum of 500 rows and the total sample count.
Map query returns a brief set of attributes.