counter using with
mansionhouse synchronized