PHOENIX-1203 Uable to work for count (distinct col) queries via phoenix table with secondary indexes.