Initializing table properties so number selected based logic can work.

Without this change only click "select all" would result in the count and deselect control showing up.  You can even see this in the example app.

This change fixes that issue by initializing the table parameters.