Object counting methods