I would recommend that you provide all the relevant information up front. Your first post says you were passing False to the 'readOnly' parameter and the error message you quoted says that the counter needed to be created read-only, so the obvious solution to that is to pass True to that parameter. If you'd already tried that then that would qualify as relevant information.