num games
updated query and view