Javascript Get Count Of Items In Array Python Practice