draft proper bug counting
fixme