changed the get unfiltered count to getunpaginated count. added test to
make sure that when no form fields were passed then no form is built