fixed condition for new opportunity count