Added distinct and total counts to charts