Pass default get_count query as function itself, not its result