Count view: view layer table not working