added count method to Observable