Feature/count selected fragment