updated count function

made ``count`` function to accept columnt with DISTINCT keyword