Make __len__ functions directly call gp_xxx_count