How to count local accounts ?