add tile and query counter