note count route and model