fixed COUNT(float) to return values count, not documents count