fixed the proble with count on GAE