Change active_count() to activeCount for 2.4 compatibility