change count() function to size() function.  This adds support for PE 2.7.x.  Thank you razorsedge.