Improve type checking in TransportUniqtermcountAction