test setup for type count