Added a method return a number of osgi services