How do you get a count of selected objects?

Discussion created by pltsltesri on Jun 6, 2014
Latest reply on Jun 9, 2014 by pltsltesri
I've selcted a number of parcel polygon shapes in my Viewport, now I want my python script to get the number of polygons I've got selected so I can use that number in a calculation. The standard Python count fucntion does not seem to work and I don't see a ce command listed that does counting. From a python script how would I go about finding out how many shapes I've got selected?