Add :distinct boolean to use DISTINCT counts