Fixed bug which displayed direct count instead of redirect count

The pie graph shows both redirect and direct statistics, but the count only reflects the direct count in the summary.
Merge pull request #1457 from hawaiianchimp/patch-1

Fixed bug which displayed direct count instead of redirect count
Merge pull request #1 from YOURLS/master

merge source to mine