int size(CommandList beforeMethods,CommandList
afterMethods) throws EveException
Reports the number of MediaObjects in the MediaCollection.
beforeMethods indicates that you want to run a command method(s)
before the method is invoked
that you want to run a command method(s) after the method is executed
an integer representing the number of MediaObjects
in the collection
The size() method throws an EveException
if the operation fails.