Added count function to upperio service interface

Need a way to count the entity list length