schedule service

Hi,
I have a service A which is invoked by the scheduler. I need to invoke service B whenever service A runs 10 times.How to do it without using database? Is these global variables in webMethods?
Thanks