added pagecount method to resource collection
added data grid widget example