draft proper bug counting